sides ab and ac and median ad of a triangle abc are respectively